package day03;

import java.util.Scanner;

public class MainTest8 {
    public static void main(String[] args) {

        System.out.println("请输入一个值");
        Scanner input = new Scanner(System.in);
        int num = input.nextInt();
        for (int i = 0 ; i<=num;i++){
            System.out.println(i+"+"+(num-i)+"="+num);
        }
    }
}
